/**
 * 
 */
package cn.bblocks.cacheTest.service;

import java.util.List;

import cn.bblocks.cacheTest.model.User;


/**
 * @author Administrator
 *
 */
public interface UserService {
	
	User selectByLoginName(String loginName);
	
	User getUser(Integer id);
	
	void addUser(User user);
	
	void addUsers(List<User> users);
	
	List<User> randomUsers();
	
	void initUser(int i);
	
	
	Long totalUsers();
	
	
	List<User> query(String loginName
			,String name
			,Integer status);
}
